|
Repetier-Firmware
1.0.0
|
#include "Repetier.h"Macros | |
| #define | minTime 45000L |
Variables | |
| millis_t | previousMillisCmd = 0 |
| millis_t | maxInactiveTime = MAX_INACTIVE_TIME * 1000L |
| millis_t | stepperInactiveTime = STEPPER_INACTIVE_TIME * 1000L |
| long | baudrate = BAUDRATE |
| Communication speed rate. More... | |
| int | maxadv2 = 0 |
| float | maxadvspeed = 0 |
| uint8_t | pwm_pos [NUM_PWM] |
| volatile int | waitRelax = 0 |
| int | lastblk = -1 |
| int32_t | cur_errupd |
| #define minTime 45000L |
| long baudrate = BAUDRATE |
Communication speed rate.
| int32_t cur_errupd |
| int lastblk = -1 |
Moves the stepper motors one step. If the last step is reached, the next movement is started. The function must be called from a timer loop. It returns the time for the next call. This is a modified version that implements a Bresenham 'multi-step' algorithm where the dominant Cartesian axis steps may be less than the changing dominant delta axis. Moves the stepper motors one step. If the last step is reached, the next movement is started. The function must be called from a timer loop. It returns the time for the next call.
Normal linear algorithm
| int maxadv2 = 0 |
| float maxadvspeed = 0 |
| millis_t maxInactiveTime = MAX_INACTIVE_TIME * 1000L |
| millis_t previousMillisCmd = 0 |
| uint8_t pwm_pos[NUM_PWM] |
| millis_t stepperInactiveTime = STEPPER_INACTIVE_TIME * 1000L |
| volatile int waitRelax = 0 |